package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IDeviceDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("CleanHistoryDeviceData")
public class CleanHistoryDeviceData {
    @Autowired
    private IDeviceDataService deviceDataService;
   public void  cleanData(Integer minute){
       deviceDataService.cleandOldData(minute);
   }
}
